<template>
    <div class="menuIcon">
        <el-icon :size="size" :color="color">
            <!-- <Edit /> -->
            <!-- component:组件标签  is属性指定组件名称-->
            <component :is="name"></component>
        </el-icon>
    </div>
</template>

<script setup lang="ts">
defineProps<{
    name: any
    size ?: string
    color ?: string
}>()
</script>

<style scoped>

</style>